Processing system and method for transform

ABSTRACT

A system includes M memories, wherein a first mapping assigns each point of an N-point input sequence to one of the M memories. A pipelined data path receives an input from each of the M memories, stores an output to each of the M memories, and iteratively processes pairs of points of the N-point input sequence. A control module designates the pairs of points from the M memories for processing by the data path, wherein only one point of each of the pairs is designated at one time.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 60/704,635, filed on Aug. 2, 2005, which is incorporated herein by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates to a processing system and method for a transform, and more particularly to a processing system and method for a Fast Fourier Transform.

BACKGROUND OF THE INVENTION

The Discrete Fourier Transform (DFT) transforms a discrete time-domain sequence of finite length into a discrete set of frequency values. The DFT of an N-point sequence x(n) is

${{X(k)} = {{\sum\limits_{n = 0}^{N - 1}\;{{x(n)}W_{N}^{kn}\mspace{14mu}{for}\mspace{14mu} k}} = 0}},1,{{\ldots\mspace{14mu} N} - 1.}$ W_(N), often referred to as a twiddle factor, is shorthand notation for e^(−j2π/N). The inverse DFT (IDFT) relation is identical to the DFT relation scaled by a constant and with the sign of the exponent reversed:

${{x(n)} = {{\frac{1}{N}{\sum\limits_{k = 0}^{N - 1}\;{{X(k)}W_{N}^{- {kn}}\mspace{14mu}{for}\mspace{14mu} n}}} = 0}},1,{{\ldots\mspace{14mu} N} - 1.}$ Therefore, techniques developed for the DFT apply with minimal adaptation to the IDFT.

The DFT is capable of handling complex x(n), in which case the DFT will transform N (or fewer) complex time-domain inputs into N complex frequency-domain outputs. Because W_(N) is complex, the X(k) generated by the DFT are often complex, even when the input sequence x(n) is real. If the DFT of a sequence of length 2N is desired, a 2N-point DFT can be used. If the 2N-point sequence is real, however, it seems intuitively possible to arrange pairs of the 2N real inputs to make N complex inputs. This N-point complex input can then be processed with an N-point DFT. This technique will be useful if the 2N-point DFT can be extracted from this N-point DFT.

If a sequence containing 2N real values is denoted g(n), two N-point real sequences can be formed from g(n). These N-point sequences may contain the even and odd points of g(n), respectively: e.g., x₁(n)=g(2n) and x₂(n)=g(2n+1). These two sequences can be combined into a single complex sequence of length N by assigning x₁(n) as the real part and x₂(n) as the imaginary part: i.e., x(n)=x₁(n)+jx₂(n). The 2N-point real sequences can be expressed in terms of the combined sequence as follows:

${x_{1}(n)} = {{{\frac{1}{2}\left\lbrack {{x(n)} + {x*(n)}} \right\rbrack}\mspace{14mu}{and}\mspace{14mu}{x_{2}(n)}} = {\frac{1}{2\; j}\left\lbrack {{x(n)} - {x*(n)}} \right\rbrack}}$ The DFT is a linear relation, so:

${X_{1}(k)} = {{\frac{1}{2}\left\lbrack {{D\; F\;{T\left( {x(n)} \right)}} + {D\; F\;{T\left( {x*(n)} \right)}}} \right\rbrack}\mspace{14mu}{and}}$ $\mspace{14mu}{{X_{2}(k)} = {{\frac{1}{2\; j}\left\lbrack {{D\; F\;{T\left( {x(n)} \right)}} - {D\; F\;{T\left( {x*(n)} \right)}}} \right\rbrack}.}}$ Symmetry of the DFT means that:

${X_{1}(k)} = {{{\frac{1}{2}\left\lbrack {{X(k)} + {X*\left( {N - k} \right)}} \right\rbrack}\mspace{14mu}{and}\mspace{14mu}{X_{2}(k)}} = {{\frac{1}{2\; j}\left\lbrack {{X(k)} - {X*\left( {N - k} \right)}} \right\rbrack}.}}$

The desired output is the DFT G(k) of the original 2N input sequence g(n). The definition of the DFT can be used to reconstruct G(k), where

${{G(k)} = {{\sum\limits_{n = 0}^{{2\; N} - 1}\;{{g(n)}W_{2\; N}^{kn}}} = {{{\sum\limits_{n = 0}^{N - 1}\;{{g\left( {2\; n} \right)}W_{2\; N}^{2\;{kn}}}} + {\sum\limits_{n = 0}^{N - 1}\;{{g\left( {{2\; n} + 1} \right)}W_{2\; N}^{k{({{2\; n} + 1})}}}}} = {{{\sum\limits_{n = 0}^{N - 1}\;{{x_{1}(n)}W_{n}^{kn}}} + {W_{2\; N}^{k}{\sum\limits_{n = 0}^{N - 1}\;{{x_{2}(n)}W_{N}^{nk}}}}} = {{{X_{1}(k)} + {W_{2\; N}^{k}{X_{2}(k)}}} = {\frac{1}{2}\left( {\left\{ {{X(k)} + {X^{*}\left( {N - k} \right)}} \right\} - {j\; W_{2\; N}^{k}\left\{ {{X(k)} - {X^{*}\left( {N - k} \right)}} \right\}}} \right)}}}}}}\;$   for  k = 0, 1, …  , N − 1 The DFT of a real sequence is Hermitian symmetric:

${G\left( {{2N} - k} \right)}^{*} = {\left\lbrack {\sum\limits_{n = 0}^{{2N} - 1}\;{{g(n)}W_{2\; N}^{{({{2\; N} - k})}n}}} \right\rbrack^{*} = {{W_{2\; N}^{2\;{Nn}}\left\lbrack {\sum\limits_{n = 0}^{{2\; N} - 1}\;{{g(n)}W_{2\; N}^{- {kn}}}} \right\rbrack}^{*} = {{\sum\limits_{n = 0}^{{2\; N} - 1}\;{\left\lbrack {g(n)} \right\rbrack^{*}\left\lbrack W_{2\; N}^{- {kn}} \right\rbrack}^{*}} = {{\sum\limits_{n = 0}^{{2\; N} - 1}\;{{g(n)}W_{2\; N}^{kn}}} = {G(k)}}}}}$

Therefore, once the first N points are calculated, the next N are simply the complex conjugates of the first N in reverse order. Interleaving real g(n) into a complex sequence x(n) may be accomplished by the way in which g(n) is initially stored in memory. For example, g(n) may be stored in memory sequentially, and complex numbers may be read as alternating real and imaginary parts. Calculation is therefore divided into two steps: the DFT and post-processing. A computational reduction of approximately two times is achieved in the DFT step by using an N-point DFT instead of a 2N-point DFT, a savings that becomes more significant as N increases.

This technique is discussed in John G. Proakis & Dimitris G. Manolakis, Digital Signal Processing: Principles, Algorithms, and Applications § 6.2.2 (3d ed. 1996), which is hereby incorporated by reference in its entirety. Referring now to FIG. 1, the flow of data is summarized for an exemplary sequence length. An 8192-point real sequence 50 is split into two 4096-point real sequences 52 consisting of the even and odd values of the original sequence 50. The even and odd real sequences form the real and imaginary parts, respectively, of a 4096-point complex sequence 54. A 4096-point DFT transforms the complex sequence 54 into a 4096-point frequency domain sequence 56. Post-processing creates a new 4096-point sequence 58. Hermitian symmetry dictates what the next 4096 points are, to allow generation of a 8192-point complex sequence 60.

The technique is equally applicable when calculating the IDFT of a 2N-point frequency domain sequence G(k) that is Hermitian symmetric (corresponding to a real time-domain sequence). This is the case in VDSL (Very high bit-rate Digital Subscriber Line) applications. In this situation, the calculation steps are pre-processing and IDFT calculation. Pre-processing involves calculating

${X_{1}(k)} = {\frac{1}{2\;}\left\lbrack {{G(k)} + {G\left( {N - k} \right)}^{*}} \right\rbrack}$ and

${X_{2}(k)} = {{\frac{1}{2}\left\lbrack {{G(k)} - {G\left( {N - k} \right)}^{*}} \right\rbrack}{\mathbb{e}}^{{j2\pi}\;{k/N}}}$ and from the first N points of G(k) (the next N points add no information, as they are simply conjugates of the first N according to Hermitian symmetry). The sequence upon which the IDFT is performed is X(k)=X₁(k)+jX₂(k), and the resulting sequence x(n) will contain the even samples x₁(n) as the real parts, and the odd samples x₂(n) as the imaginary parts.

Referring now to FIG. 2, a data flow summary of this inverse process is depicted. A 4096-point complex sequence 70 (although Hermitian symmetry dictates the other 4096 points of a 8192-point sequence) is pre-processed to another 4096-point complex sequence 72. An IDFT transforms the sequence 72 into a 4096-point complex sequence 74. The real and imaginary parts 76 of the complex sequence 74 are the even and odd values, respectively, of an 8192-point real sequence 78.

Referring now to FIG. 3, a data flow summary of a similar technique is depicted. In this case, the DFT of two real sequences is desired. The two 4096-point real sequences 90 form the real and imaginary parts of a 4096-point complex sequence 92. A DFT transforms the sequence 92 into another 4096-point complex sequence 94. Post-processing extracts two 4096-point complex sequences 96 from the sequence 94. The sequences 96 are the DFTs of the respective sequences 90.

Referring now to FIG. 4, a data flow summary of the process inverse to that of FIG. 3 is shown. Two 4096-point complex sequences 100 are added (multiplying the second sequence 100 by j) to create a 4096-point complex sequence 102. An IDFT transforms the sequence 102 into a 4096-point complex sequence 104. The real and imaginary parts of the sequence 104 are the respective values of two 4096-point real sequences 106. The sequences 106 correspond to the IDFTs of the sequences 100.

The DFT can be evaluated directly according to its definition,

${X(k)} = {\sum\limits_{n = 0}^{N - 1}\;{{x(n)}{W_{N}^{kn}.}}}$ Due to the DFT's importance, many techniques have been developed that speed this process. These techniques are generally labeled Fast Fourier Transforms (FFT), and have complementary Inverse FFTs (IFFT). The above technique for obtaining a 2N-point DFT sequence using only an N-point DFT is equally applicable when an FFT is used to calculate the DFT.

One popular FFT methodology is referred to as divide-and-conquer. For N=L*M, the divide-and-conquer FFT will calculate L M-point DFTs and combine the L DFTs into a single DFT. For example, if M is 2, L 2-point DFTs can be calculated. If N is a power of 2, this division can be repeated log₂ N times. This FFT is known as Radix-2. If N is a power of 4, a Radix-4 FFT can be used. The Radix-4 FFT is more complex to implement, but for large N, its reduction in computation time is worth the trade-off. Because an input sequence can be zero-padded up to a length of a power of 2 or 4, Radix-2 and Radix-4 can be used for any input sequence.

SUMMARY OF THE INVENTION

A system comprises M memories, wherein a first mapping assigns each point of an N-point input sequence to one of the M memories. A pipelined data path receives an input from each of the M memories, stores an output to each of the M memories, and iteratively processes pairs of points of the N-point input sequence. A control module designates the pairs of points from the M memories for processing by the data path, wherein only one point of each of the pairs is designated at one time.

In other features, M is four. The data path receives M inputs at approximately the same time and stores M outputs at approximately the same time. The data path stores the outputs to locations in the M memories where corresponding inputs were received from. The mapping assigns an equal number of points of the N-point input sequence to each of the M memories. M is 4, each address of the points of the N-point input sequence contains L 2-bit quartets. The mapping comprises summing the L quartets modulo 4. The sum selects one of the M memories.

In other features, the control module also directs calculation of a transform on the N-point input sequence. The data path performs the calculation of the transform. The transform includes a Fast Fourier Transform. The Fast Fourier Transform is performed before the processing. The Fast Fourier Transform comprises a Radix-4 technique. The transform includes an inverse Fast Fourier Transform. The inverse Fast Fourier Transform is performed after the processing. The inverse Fast Fourier Transform comprises a Radix-4 technique.

In other features, the pairs of points each comprise a first point and a second point. The control module designates a first point of a first pair of the pairs of points while designating a second point of a second pair of the pairs of points. The data path includes a complex multiplier that is time-shared between a portion of the data path employing the first pair and a portion of the data path employing the second pair. The M memories store the N-point input sequence as N complex values.

In other features, a computer method stored on a computer-readable medium comprises mapping each point of an N-point input sequence to one of M memories; receiving an input from each of the M memories and storing an output to each of the M memories; iteratively processing pairs of points of the N-point input sequence; and designating the pairs of points from the M memories for processing by the data path, wherein only one point of each of the pairs is designated at one time.

In other features, M is four. The method further includes receiving M inputs at approximately the same time and storing M outputs at approximately the same time. The method further includes storing the outputs to locations in the M memories where corresponding inputs were received from. The mapping assigns an equal number of points of the N-point input sequence to each of the M memories. M is 4, each address of the points of the N-point input sequence contains L 2-bit quartets. The method further comprises summing the L quartets modulo 4, wherein the sum selecting one of the M memories.

In other features, the method further includes directing calculation of a transform on the N-point input sequence. The method further includes performing the calculation of the transform. The transform includes a Fast Fourier Transform. The method further includes performing the Fast Fourier Transform before the processing. The Fast Fourier Transform comprises a Radix-4 technique. The transform includes an inverse Fast Fourier Transform. The inverse Fast Fourier Transform is performed after the processing. The inverse Fast Fourier Transform comprises a Radix-4 technique. The pairs of points each comprise a first point and a second point. The method further comprises designating a first point of a first pair of the pairs of points while designating a second point of a second pair of the pairs of points. The method further includes time sharing a complex multiplier between a portion of the data path employing the first pair and a portion of the data path employing the second pair. The method further includes storing the N-point input sequence as N complex values in the M memories.

In still other features, the methods described above are implemented by a computer program executed by one or more processors. The computer program can reside on a computer readable medium such as but not limited to memory, non-volatile data storage and/or other suitable tangible storage mediums.

Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:

FIG. 1 is a data flow diagram for calculating a DFT of a 2N-point real sequence using an N-point DFT;

FIG. 2 is a data flow diagram for calculating an IDFT of a 2N-point Hermitian symmetric sequence using an N-point IDFT;

FIG. 3 is a data flow diagram for calculating a DFT of 2 N-point real sequences using an N-point DFT;

FIG. 4 is a data flow diagram for calculating an IDFT of 2 N-point Hermitian symmetric sequences using an N-point IDFT;

FIG. 5 is a graphical depiction of a Radix-4 pipeline flow using a first mapping;

FIG. 6 is a graphical depiction of a processing pipeline flow using a second mapping;

FIG. 7 is a graphical depiction of a processing pipeline flow using the first mapping;

FIG. 8 is a graphical depiction of an alternative processing pipeline flow using the first mapping;

FIG. 9 is a flowchart depicting exemplary steps performed by a control module in processing a sequence before or after the transform;

FIG. 10 is a functional block diagram of a system for processing and calculating a transform of a sequence;

FIG. 11 is a functional block diagram of an exemplary DSL transceiver according to the principles of the present invention;

FIG. 12A is a functional block diagram of a set top box employing a broadband transceiver and interface according to the principles of the present invention; and

FIG. 12B is a functional block diagram of a high definition television employing a broadband transceiver and interface according to the principles of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The following description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. For purposes of clarity, the same reference numbers will be used in the drawings to identify similar elements. As used herein, the term module refers to an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality. As used herein, the phrase at least one of A, B, and C should be construed to mean a logical (A or B or C), using a non-exclusive logical or. It should be understood that steps within a method may be executed in different order without altering the principles of the present invention.

When Radix-4 is implemented in hardware, storage is often divided into four banks. This storage can be accomplished in a number of ways (e.g., registers, Random Access Memory, etc.), but for convenience will be referred to herein as RAM. Each Radix-4 iteration (called a “butterfly” because of its directed graph representation) uses 4 inputs and generates 4 outputs. Replacing the RAM locations of the inputs with the outputs is referred to as in-place computation. Because 4 inputs/outputs are needed, Radix-4 lends itself to having RAM separated into four banks. If a mapping from address to RAM bank can be found so that each of the 4 inputs is taken from a different RAM bank, the 4 inputs can be read simultaneously, one from each bank. The 4 outputs can then also be simultaneously written back into their respective banks.

Such a mapping, which will be called Mapping A, allows the pipelined flow depicted in FIG. 5. At time t1, calculation of the first Radix-4 butterfly 120 is begun by reading four inputs, one each from the four banks. At time t2, another four inputs are read to compute the next Radix-4 butterfly 122. This process continues at time t3 for butterfly 124, time t4 for butterfly 126, and so on.

One of the many possible choices for Mapping A uses a modulo 4 sum of the “quartets” of the RAM address. Performing a 4096-point FFT means that 12 bits of address are needed to identify the 4096 points (2¹²=4096). The twelve address bits (b₁₁b₁₀b₉b₈b₇b₆b₅b₄b₃b₂b₁b₀) can be grouped into quartets, where each quartet contains two bits. The twelve-bit address is now a six-quartet address, q₅q₄q₃q₂q₁q₀, where q₅=b₁₁b₁₀, q₄=b₉b₈, etc. The most-significant quartets q₅q₄q₃q₂q₁, are used as the address within the RAM bank, and the bank is selected by the expression (q₅+q₄+q₃+q₂+q₁+q₀) mod 4.

As discussed in the background, when performing an N-point DFT (or IDFT) for a 2N-point real sequence, post-processing (or pre-processing) must be performed. This processing can use the same values from the same RAM banks that are used by the Radix-4 FFT. Processing (whether pre or post) pairs point k with point N−k for each desired value; for example, with N=4096, point 1 is paired with point 4095, point 2 with point 4094, etc. The pipeline diagram of FIG. 6 demonstrates how two values are read for each of two processing steps 130 and 132 at time t1. A total of four values are read at time t2, for processing steps 134 and 136. This process continues with steps 138, 140, 142, 144, etc.

FIG. 6 assumes that a mapping, which will be called Mapping B, exists whereby the four inputs needed at each time interval are taken from different banks. Otherwise, the pipeline will stall, as two values must be read successively from the same RAM bank. This situation is depicted in FIG. 7. In FIG. 7, Mapping A is used, which causes some RAM accesses to collide. Processing steps 150, 152, and 154 proceed normally. Processing step 156, however, needs two values from the same RAM bank, causing step 156 to be delayed. Step 158 proceeds normally, while step 160 is delayed by a double access to a single RAM bank.

Clearly, Mapping A, while allowing for perfect pipelining of Radix-4 (as shown in FIG. 5), does not work well for processing (as shown in FIG. 7). Mapping B works well for processing in FIG. 6, but causes collisions when performing Radix-4 (a broken pipeline similar to FIG. 7 is not shown). A Mapping C that caused no collisions for processing or for Radix-4 would be ideal. Unfortunately, no such Mapping C has been found.

Processing and Radix-4 stages operate at distinct periods of time-Radix-4 followed by post-processing (as for FFT), or pre-processing followed by Radix-4 (as for IFFT). It is therefore possible for a calculation system to switch between two RAM mappings, one for each phase of calculation. However, the data located in RAM after Radix-4 (or after processing, whichever occurs first) would have to be read from the RAM banks and replaced according to the new bank mapping. This would take a relatively long amount of time, with a concomitant increase in power consumption for accessing the RAM banks.

An alternate pipelining process, depicted in FIG. 8, allows processing to be perfectly pipelined using the same Mapping A that works for Radix-4. Processing steps 200 are “rotated” by 90 degrees from the implementation of FIG. 6. Processing steps 210 are “rotated” by 270 degrees from the implementation of FIG. 6 for resource-sharing reasons that will be explained below. Steps 200-1, 200-2, and 200-3 each retrieve a value (the first of the pair) from a corresponding RAM bank at time t1. Simultaneously, step 210-1 retrieves a value from a fourth RAM bank, and begins processing. At time t2, steps 200-1, 200-2, and 200-3 each retrieve a value (the second of the pair) from a corresponding RAM bank and begin processing. Meanwhile, step 210-2 retrieves a value from a fourth RAM bank.

This procedure continues at time t3, where steps 200-4, 200-5, and 200-6 each retrieve a single value, and step 210-2 retrieves a single value and begins processing. In time t4, steps 200-4, 200-5, and 200-6 each retrieve another single value, and begin processing. Step 210-3 simultaneously retrieves a single value. This procedure repeats until all values are processed.

For the example of N=4096, the pipelining of FIG. 8 can be demonstrated:

Time   0,     1,   2,     3,    4,   . . . P0   0) (4092,   4) (4088,    8) (. . . P1 (1,   4095,) (5,   4091)  (9,   . . . P2 (2,   4094,) (6,   4090,) (10,   . . . P3 (3,   4093,) (7,   4089,) (11,   . . . For instance, at time 1, values 4092, 4093, 4094, and 4095 are read from RAM. These addresses share the five most significant quartets and differ only in the least significant quartet. Accordingly, each value is assigned (due to the modulo four operation) to a different RAM bank. This is true for every time value, as times 0, 2, 3, and 4 illustrate.

Each iteration of Radix-4 computation (“butterfly”) multiplies each of the four inputs by a respective complex “twiddle factor”. One of these twiddle factors is unitary, so only three complex multiplications are required. To compute the butterfly quickly, three multipliers are used to perform the multiplications simultaneously. As mentioned above, the Radix-4 stage and the processing stage occur at different periods of time. The three multipliers used in Radix-4 can therefore be used in processing.

Referring now to FIG. 9, a flowchart depicts exemplary steps performed to complete processing (whether pre- or post-). In this pipelined implementation, there are four paths, labeled A, B, C, and D. In actual hardware implementations, the exemplary steps may overlap, as opposed to occurring in the orderly pattern depicted in FIG. 9. Path A corresponds to the differentially rotated steps 210 of FIG. 8, while paths B, C, and D correspond to the steps 200 of FIG. 8. As will become clear, the steps 210 are rotated to use one of the three multipliers at a different time than when the steps 200 need the multipliers. In this way, the three multipliers already present for Radix-4 are sufficient, and a fourth does not need to be added.

Control begins in step 302, where a first value is read for path A, the value being referred to as A1. Control continues in step 304, where a second value is read for path A (A2), and first values are read for paths B, C, and D (B1, C1, and D1, respectively). In step 306, a complex multiplier is used with A1 and A2, yielding the value a_m. In step 308, a_m is used to generate two outputs, a1 and a2. In step 310, second values for paths B, C, and D (B2, C2, and D2) are read. Simultaneously, a new first value for path A is read (A1). In step 312, three multipliers are used to generate b_m, c_m, and d_m. In step 314, b_m, c_m, and d_m are used to generate two outputs per path: b1, b2, c1, c2, d1, and d2. In step 316, if points remain to be processed, control returns to step 304; otherwise, control ends.

To demonstrate a possible pipeline implementation, two paths (A and B) are illustrated below. The second pairs of inputs and outputs are labeled with an asterisk to differentiate them from the first pairs. For example, the inputs may be: Path A—(A1, A2), (A1*, A2*), . . . and Path B—(B1, B2), (B1*, B2*), . . . The outputs will be labeled as follows: Path A−(a1, a2), (a1*, a2*), . . . and Path B−(b1, b2), (b1*, b2*), A delayed version of the inputs is used to simultaneously present the pair of inputs for calculation.

Timestamp 1, 2, 3, 4, 5, 6, 7, . . . Input_A A1, A2, A1*, A2*, . . . Input_A_(—) A1, A2, A1*, A2*, . . . delayed Shared_buffer A1, B1, A1*, B1*, . . . Input_B B1, B2, B1*, B2*, . . . Input_B_(—) B1, B2, B1*, B2*, . . . delayed Output A a1, a2, a1*, a2*, . . . Output B b1, b2, b1*, b2*, . . . CM used by A, B, A, B, . . . Path

The above example shows how one of the three complex multipliers (denoted as “CM” above) is shared between two paths (in this case, paths A and B). The above example also demonstrates how a buffer can be shared between two paths. These instances of sharing allow the preprocessing to be performed without requiring additional data path elements beyond those needed for Radix-4.

Referring now to FIG. 10, a block diagram of a transform calculator according to the principles of the present invention is presented. An N-point sequence is loaded into a group (four in this case) of RAM banks: first RAM bank 402-0, second RAM bank 402-1, third RAM bank 402-2, and fourth RAM bank 402-3. The N-point sequence is apportioned between the four RAM 402 banks by a specified mapping. The specified mapping may be Mapping A of FIG. 5. This mapping is contained within a memory mapping rules module 410.

A control and address generation module 412 simultaneously communicates four addresses to the memory mapping rules module 410. The control module 412 also communicates with a K-stage pipelined data path module 414. The data path module 414 contains buffers and arithmetic functions, including adders and complex multipliers. A pipelined delay module 416 also has K stages. The pipelined delay module stores addresses and multiplexing information from the memory mapping rules module 410. The multiplexing information is communicated to a write data demultiplexing module 418. The memory mapping rules module 410 also communicates multiplexing information to a read data multiplexing module 420.

The read data multiplexing module 420 receives data from each of the four RAM banks 402 and outputs four data values to the data path module 414. These four outputs are named DP0, DP1, DP2, and DP3. The control module 412 generates four addresses of values to be processed by the data path module 414. These four addresses correspond to what the data path module 414 should receive at DP0, DP1, DP2, and DP3. The memory mapping rules module 410 receives these four addresses and, using the specified memory mapping stored within, determines to which of the RAM banks 402 the addresses will be directed. With an appropriate mapping, each of the four addresses will map to a different RAM bank 402.

As an example, if the N-point sequence stored in the RAM banks 402 is a 4096 (2¹²)-point sequence, twelve bits are necessary to select the value. The memory mapping rules module 410 therefore receives four twelve bit addresses. The memory mapping rules module 410 then determines which RAM bank 402 should receive the address. Assuming that the RAM banks 402 are equal in size, each bank will only contain 1,024 (2¹⁰) values. Therefore, when the memory mapping rules module 410 communicates an address to a RAM bank 402, it only needs to communicate 10 bits. The address bus leaving the memory mapping rules module 410 is then 40 bits wide, 10 bits for each RAM bank 402.

The values selected by the received addresses in the RAM banks 402 are each communicated to the read data multiplexing module 420. The multiplexing module 420 is necessary because while the four correct values have been read from the RAM banks 402, they may not be in the correct order for the data path module 414. In other words, the value selected from the first RAM bank 402-0 may be required at DP1, not DP0. The multiplexing module 420 therefore acts as a 4-by-4 cross-bar to direct the four inputs from the RAM banks 402 to the appropriate DP inputs of the data path module 414.

When values are written back to the RAM banks 402 (a process called in-place computation) the multiplexing operation must be reversed. The write data demultiplexing module 418 therefore performs the complementary demultiplexing operation on data received from the pipelined data path module 414. Because both the data path module and the pipelined delay module have K stages, the stored multiplexing information will arrive at the demultiplexing module 418 at the same time that data arrives from the data path module 414. Likewise, the pipelined delay module 416 will output the corresponding addresses to the write input of the RAM banks 402 as data is arriving from the demultiplexing module 418.

Referring now to FIG. 11, a functional block diagram of an exemplary Digital Subscriber Line (DSL) transceiver 500 according to the principles of the present invention is presented. An analog front end 502 communicates with physical media and may perform a number of functions including filtering and noise shaping. An A/D (analog-to-digital) converter 504 communicates with the analog front end 502 and converts incoming signals to digital, which are then communicated to a first DSP 506. After processing by the first DSP 506, data is communicated to an FFT module 508, and the output of the FFT module 508 is communicated to a processor 510. On the transmit side of the DSL transceiver 500, processor 510 communicates data to an IFFT module 512, whose output is communicated to a second DSP 514. The output of the DSP 514 is converted to analog by a D/A (digital-to-analog) converter 516, and the analog signal is communicated to physical media by the analog front end 502. The FFT and IFFT modules 508 and 512 may be implemented according to the principles of the present invention to reduce computation time and power demands.

Referring now to FIG. 12A, a device according to the principles of the present invention may be implemented in a set top box 550. The set top box 550 includes a broadband transceiver and interface 552 such as but not limited to a DSL transceiver. Part or all of the broadband transceiver and interface 552 may be implemented in either or both of signal processing and/or control circuits, which are identified generally at 554. The set top box 550 receives signals from a source 556, such as cable, broadcast, and/or satellite. Alternatively, broadband access afforded by the broadband transceiver and interface 552 may serve as the source of content. The signal processing and/or control circuits 554 and/or other circuits (not shown) of the set top box 550 may process data, perform coding and/or encryption, perform calculations, format data, and/or perform any other set top box function.

The set top box 550 contains a power supply 558 and may also include memory 560 such as RAM, ROM, low latency non-volatile memory such as flash memory, and/or other suitable electronic data storage. The set top box 550 generates video and/or audio signals for communication to a display 562. The signal processing and/or control circuits 554 may communicate with mass storage 564 that stores data in a non-volatile manner. The mass data storage 564 may include optical and/or magnetic storage devices; for example, hard disk drives and/or DVDs. The set top box 550 may also support connections with a Wireless LAN (local area network) via a WLAN network interface 566.

Referring now to FIG. 12B, the present invention can be implemented in a high definition television (HDTV) 620. The HDTV 620 includes the broadband transceiver and interface 552. Part or all of the broadband transceiver and interface 552 may be implemented in either or both of signal processing and/or control circuits, which are identified generally at 662. The HDTV 620 receives signals from a source, such as cable, broadcast, and/or satellite. Alternatively, broadband access afforded by the broadband transceiver and interface 552 may serve as the source of content. The HDTV may also incorporate the set top box shown in FIG. 12A. The HDTV 620 receives HDTV input signals in either a wired or wireless format and generates HDTV output signals for a display 626. In some implementations, signal processing circuit and/or control circuit 622 and/or other circuits (not shown) of the HDTV 620 may process data, perform coding and/or encryption, perform calculations, format data and/or perform any other type of HDTV processing that may be required.

The HDTV 620 may communicate with mass data storage 627 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The HDTV 620 may be connected to memory 628 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The HDTV 620 also may support connections with a WLAN via a WLAN network interface 629.

Those skilled in the art can now appreciate from the foregoing description that the broad teachings of the present invention can be implemented in a variety of forms. Therefore, while this invention has been described in connection with particular examples thereof, the true scope of the invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, the specification and the following claims. 

1. A system, comprising: M memories, wherein a first mapping assigns each point of an N-point input sequence to one of said M memories; a pipelined data path that receives an input from each of said M memories, that stores an output to each of said M memories, and that iteratively processes pairs of points of the N-point input sequence; and a control module that designates the pairs of points from said M memories for processing by said pipelined data path, wherein only one point of each of the pairs is designated at one time.
 2. The system of claim 1 wherein M is four.
 3. The system of claim 1 wherein said pipelined data path receives M inputs at approximately the same time and stores M outputs at approximately the same time.
 4. The system of claim 1 wherein said pipelined data path stores said outputs to locations in said M memories where corresponding inputs were received from.
 5. The system of claim 1 wherein said mapping assigns an equal number of points of the N-point input sequence to each of said M memories.
 6. The system of claim 1 wherein M is 4, each address of the points of the N-point input sequence contains L 2-bit quartets, and wherein said mapping comprises summing said L quartets modulo 4, said sum selecting one of said M memories.
 7. The system of claim 1 wherein N is
 4096. 8. The system of claim 1 wherein said control module directs calculation of a transform on the N-point input sequence.
 9. The system of claim 8 wherein said pipelined data path performs said calculation of said transform.
 10. The system of claim 8 wherein said transform includes a Fast Fourier Transform.
 11. The system of claim 10 wherein said Fast Fourier Transform is performed before said processing.
 12. The system of claim 10 wherein said Fast Fourier Transform comprises a Radix-4 technique.
 13. The system of claim 8 wherein said transform includes an inverse Fast Fourier Transform.
 14. The system of claim 13 wherein said inverse Fast Fourier Transform is performed after said processing.
 15. The system of claim 13 wherein said inverse Fast Fourier Transform comprises a Radix-4 technique.
 16. The system of claim 1 wherein the pairs of points each comprise a first point and a second point, and wherein said control module designates a first point of a first pair of the pairs of points while designating a second point of a second pair of the pairs of points.
 17. The system of claim 16 wherein said pipelined data path includes a complex multiplier that is time-shared between a portion of said pipelined data path employing said first pair and a portion of said pipelined data path employing said second pair.
 18. The system of claim 16 wherein said M memories store the N-point input sequence as N complex values.
 19. A system, comprising: M storing means for storing, wherein a first mapping assigns each point of an N-point input sequence to one of said M storing means; pipelined data means for receiving an input from each of said M storing means, for storing an output to each of said M storing means and for iteratively processing pairs of points of the N-point input sequence; and control means for designating the pairs of points from said M storing means for processing by said pipelined data means, wherein only one point of each of the pairs is designated at one time.
 20. The system of claim 19 wherein M is four.
 21. The system of claim 19 wherein said pipelined data means receives M inputs at approximately the same time and stores M outputs at approximately the same time.
 22. The system of claim 19 wherein said pipelined data means stores said outputs to locations in said M storing means where corresponding inputs were received from.
 23. The system of claim 19 wherein said mapping assigns an equal number of points of the N-point input sequence to each of said M storing means.
 24. The system of claim 19 wherein M is 4, each address of the points of the N-point input sequence contains L 2-bit quartets, and wherein said mapping comprises summing said L quartets modulo 4, said sum selecting one of said M storing means.
 25. The system of claim 19 wherein N is
 4096. 26. The system of claim 19 wherein said control means directs calculation of a transform on the N-point input sequence.
 27. The system of claim 26 wherein said pipelined data means performs said calculation of said transform.
 28. The system of claim 26 wherein said transform includes a Fast Fourier Transform.
 29. The system of claim 28 wherein said Fast Fourier Transform is performed before said processing.
 30. The system of claim 28 wherein said Fast Fourier Transform comprises a Radix-4 technique.
 31. The system of claim 26 wherein said transform includes an inverse Fast Fourier Transform.
 32. The system of claim 31 wherein said inverse Fast Fourier Transform is performed after said processing.
 33. The system of claim 31 wherein said inverse Fast Fourier Transform comprises a Radix-4 technique.
 34. The system of claim 19 wherein the pairs of points each comprise a first point and a second point, and wherein said control means designates a first point of a first pair of the pairs of points while designating a second point of a second pair of the pairs of points.
 35. The system of claim 34 wherein said pipelined data means includes a complex multiplier that is time-shared between a portion of said pipelined data means employing said first pair and a portion of said pipelined data means employing said second pair.
 36. The system of claim 34 wherein said M storing means store the N-point input sequence as N complex values.
 37. A method comprising: mapping each point of an N-point input sequence to one of M memories; receiving an input from each of said M memories in a pipelined data path module and storing an output to each of said M memories; iteratively processing pairs of points of the N-point input sequence using said pipelined data path module; and designating the pairs of points from said M memories for processing by said pipelined data path module, wherein only one point of each of the pairs is designated at one time.
 38. The method of claim 37 wherein M is four.
 39. The method of claim 37 further comprising receiving X inputs at approximately the same time and storing M outputs at approximately the same time.
 40. The method of claim 37 further comprising storing said outputs to locations in said M memories where corresponding inputs were received from.
 41. The method of claim 37 wherein said mapping assigns an equal number of points of the N-point input sequence to each of said M memories.
 42. The method of claim 37 wherein M is 4, each address of the points of the N-point input sequence contains L 2-bit quartets, and further comprising summing said L quartets modulo 4, wherein said sum selects one of said M memories.
 43. The method of claim 37 wherein N is
 4096. 44. The method of claim 37 further comprising directing calculation of a transform on the N-point input sequence.
 45. The method of claim 44 further comprising performing said calculation of said transform.
 46. The method of claim 44 wherein said transform includes a Fast Fourier Transform.
 47. The method of claim 46 further comprising performing said Fast Fourier Transform before said processing.
 48. The method of claim 46 wherein said Fast Fourier Transform comprises a Radix-4 technique.
 49. The method of claim 44 wherein said transform includes an inverse Fast Fourier Transform.
 50. The method of claim 49 wherein said inverse Fast Fourier Transform is performed after said processing.
 51. The method of claim 49 wherein said inverse Fast Fourier Transform comprises a Radix-4 technique.
 52. The method of claim 37 wherein the pairs of points each comprise a first point and a second point, and further comprising designating a first point of a first pair of the pairs of points while designating a second point of a second pair of the pairs of points.
 53. The method of claim 52 further comprising time sharing a complex multiplier between a portion of said pipelined data path module employing said first pair and a portion of said pipelined data path module employing said second pair.
 54. The method of claim 52 further comprising storing the N-point input sequence as N complex values in said M memories. 